package com.neuqsoft.ymtdemo.view;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;
import android.widget.Toast;

import com.neuqsoft.ymtdemo.R;


/**
 * <pre>
 *     author : wulh
 *     e-mail : wulh@neuqsoft.com
 *     time   : 2020/03/17
 *     desc   : 模拟首页
 *     version: 1.0
 * </pre>
 */

public class YouAppHomeActivity extends AppCompatActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_you_home);
        TextView tvMessage = findViewById(R.id.tv_message);
        Bundle extras = getIntent().getExtras();
        if (extras != null) {
            String message = extras.getString("message");
            tvMessage.setText(message);
            Toast.makeText(this, message, Toast.LENGTH_SHORT).show();
        }

    }
}
